<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>验证码</title>
    <style>
        #main {
            text-align: center;
        }
        #receiver{
            font-weight: bolder;
        }
    </style>
</head>
<body>
   <div id="main">
       <p>你好<span id="receiver" th:text="${receiver}">XXX</span>,你的验证码为：</p>
       <h1 th:text="${code}">XXXXXX</h1>
       <p>验证码5分钟内有效，请勿转发他人。如果您不知晓您注册或登录过此平台，请忽略！</p>
   </div>
</body>
</html>